<?php
	if ($data_array['cust_sex'] == '1') 
	{
		$sex = '男';
	}
	else
	{

		$sex = '女';
	}
	$base_info = "基本信息 [<a href='../../customer/customer/customer_basic?cust_id=".$data_array['cust_id']."'>编辑</a>]";
	$detail_info = "详细信息 [<a href='../../customer/customer/customer_detail?cust_id=".$data_array['cust_id']."'>编辑</a>]";
	$links_info = "联系人信息 [<a href='../../customer/customer/customer_linkman?cust_id=".$data_array['cust_id']."'>编辑</a>]";
	$work_info = "工作信息 [<a href='../../customer/customer/customer_work?cust_id=".$data_array['cust_id']."'>编辑</a>]";
?>
[
	{"name":"客户ID","value":"<?php echo $data_array['cust_id']; ?>","group":"<?php echo $base_info; ?>"},
	{"name":"姓名","value":"<?php echo $data_array['cust_name']; ?>","group":"<?php echo $base_info; ?>"},
	{"name":"性别","value":"<?php echo $sex; ?>","group":"<?php echo $base_info; ?>"},
	{"name":"登录名","value":"<?php echo $data_array['cust_loadname']; ?>","group":"<?php echo $base_info; ?>"},
	{"name":"手机号码","value":"<?php echo $data_array['cust_phone']; ?>","group":"<?php echo $base_info; ?>"},
	{"name":"邮箱","value":"<?php echo $data_array['cust_email']; ?>","group":"<?php echo $base_info; ?>"},
	{"name":"身份证号码","value":"<?php echo $data_array['cust_identity']; ?>","group":"<?php echo $base_info; ?>"},
	{"name":"创建时间","value":"<?php echo date('Y-m-d', $data_array['cust_createdate']); ?>","group":"<?php echo $base_info; ?>"},

	{"name":"婚姻状况","value":"<?php echo $data_marital['m_name']; ?>","group":"<?php echo $detail_info; ?>"},
	{"name":"通讯地址","value":"<?php echo $data_detail['communication_province'].$data_detail['communication_city'].$data_detail['communication_district'].$data_detail['communication_address']; ?>","group":"<?php echo $detail_info; ?>"},
	{"name":"通讯地址邮编","value":"<?php echo $data_detail['communication_postcode']; ?>","group":"<?php echo $detail_info; ?>"},
	{"name":"最高学历","value":"<?php echo $data_education['edu_name']; ?>","group":"<?php echo $detail_info; ?>"},
	{"name":"最高学位","value":"<?php echo $data_degree['deg_name']; ?>","group":"<?php echo $detail_info; ?>"},
	{"name":"居住地址","value":"<?php echo $data_detail['live_province'].$data_detail['live_city'].$data_detail['live_district'].$data_detail['live_address']; ?>","group":"<?php echo $detail_info; ?>"},
	{"name":"居住地址邮编","value":"<?php echo $data_detail['live_postcode']; ?>","group":"<?php echo $detail_info; ?>"},
	{"name":"居住状况","value":"<?php echo $data_livestatus['li_value']; ?>","group":"<?php echo $detail_info; ?>"},

	{"name":"联系人1","value":"<?php echo $data_links['first_linkman_name']; ?>","group":"<?php echo $links_info; ?>"},
	{"name":"关系1","value":"<?php echo $data_relation['r_name']; ?>","group":"<?php echo $links_info; ?>"},
	{"name":"联系人号码1","value":"<?php echo $data_links['first_linkman_phone']; ?>","group":"<?php echo $links_info; ?>"},
	{"name":"联系人地址","value":"<?php echo $data_links['first_linkman_province'].$data_links['first_linkman_city'].$data_links['first_linkman_district'].$data_links['first_linkman_address']; ?>","group":"<?php echo $links_info; ?>"},
	{"name":"联系人2","value":"<?php echo $data_links['second_linkman_name']; ?>","group":"<?php echo $links_info; ?>"},
	{"name":"关系2","value":"<?php echo $data_relation2['r_name']; ?>","group":"<?php echo $links_info; ?>"},
	{"name":"联系人号码2","value":"<?php echo $data_links['second_linkman_phone']; ?>","group":"<?php echo $links_info; ?>"},

	{"name":"身份类型","value":"<?php echo $data_worktype['cust_typename']; ?>","group":"<?php echo $work_info; ?>"},
	{"name":"行业","value":"<?php echo $data_profession['name']; ?>","group":"<?php echo $work_info; ?>"},
	{"name":"职业","value":"<?php echo $data_position['pos_name']; ?>","group":"<?php echo $work_info; ?>"},
	{"name":"职务","value":"<?php echo $data_duty['du_name']; ?>","group":"<?php echo $work_info; ?>"},
	{"name":"职称","value":"<?php echo $data_title['ti_name']; ?>","group":"<?php echo $work_info; ?>"},
	{"name":"单位名称","value":"<?php echo $data_workdetail['company_name']; ?>","group":"<?php echo $work_info; ?>"},
	{"name":"单位地址","value":"<?php echo $data_workdetail['company_province'].$data_workdetail['company_city'].$data_workdetail['company_district'].$data_workdetail['company_address']; ?>","group":"<?php echo $work_info; ?>"},
	{"name":"单位邮箱","value":"<?php echo $data_workdetail['company_email']; ?>","group":"<?php echo $work_info; ?>"}
]